<template>
  <div class="title">
    <span>跨店每200减20</span>
    <h5>
      <p><em>新</em><i>当季新品</i></p>
      <p>月销{{ info.sell_volume }}+</p>
    </h5>
    <h6>{{ info.name }}</h6>
    <p>{{ info.goods_brief }}</p>

    <div>
      <p><van-icon name="like-o" />推荐</p>
      <p><van-icon name="friends-o" />帮我选</p>
      <p><van-icon name="share-o" />分享</p>
    </div>
  </div>
</template>

<script>
export default {
  name: "VueTitle",

  data() {
    return {};
  },
  props: ["info"],

  mounted() {},

  methods: {},
};
</script>

<style lang="less" scoped>
.title {
  font-size: 20px;
  margin: 10px;
  padding: 10px;
  // height: 60px;
  border-radius: 10px;
  background-color: white;

  span {
    padding: 2px;
    border: 1px solid red;
    color: red;
    border-radius: 10px;
  }
  h5 {
    margin: 15px 0;
    display: flex;
    justify-content: space-between;

    color: gray;
    p {
      em {
        border: 1px solid gray;
        border-radius: 50%;
      }
    }
    span {
      color: gray;
      border: none;
    }
  }
  h6 {
    font-weight: 500;
  }
  div {
    display: flex;
    margin-top: 20px;
    justify-content: space-evenly;
  }
}
</style>
